package com.bkd.util

import org.apache.commons.pool2.impl.GenericObjectPoolConfig
import redis.clients.jedis.JedisPool

object JedisPool {

  private val jedisPool = new JedisPool(new GenericObjectPoolConfig(), "192.168.137.44", 6379)


  def getJedis() = jedisPool.getResource
}
